package com.java;

public class UseStu {
    public static void main(String[] args) {
        Stu stu = new Stu();
        stu.setName("迪丽热巴");
        stu.setAge(20);
        System.out.println("姓名："+stu.getName()+",年龄："+stu.getAge());
        System.out.println("=================");
        Stu stu1 = new Stu("古力娜扎",21);
        System.out.println("姓名："+stu1.getName()+",年龄："+stu1.getAge());
        stu1.setAge(22);
        System.out.println("=================");
        System.out.println("姓名："+stu1.getName()+",年龄："+stu1.getAge());

    }
}
